package com.tan.chowder.login.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tan.chowder.login.entity.SysRoleDO;
import com.tan.chowder.login.mapper.SysRoleMapper;
import com.tan.chowder.login.service.SysRoleService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author chenx
 */
@Service
@Transactional
public class SysRoleServiceImpl  extends ServiceImpl<SysRoleMapper, SysRoleDO> implements SysRoleService {
    @Override
    public List<SysRoleDO> findByUid(Integer uid) {
        return getBaseMapper().findByUid(uid);
    }
}